package com.qifan.energy.mvp.callback;

/**
 * @author : FangShiKang
 * @date : 2020/04/11.
 * email : fangshikang@outlook.com
 * desc :   接口回调  CallBack
 */
public interface ICallBack<T> {
    //成功
    void onSuccess(T data);
    //失败
    void onFailed(String error);
}
